﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AQK_CJTJY.aspx.cs" Inherits="TONLI.TJOA.Anquan.AQK_CJTJY" %>


<%@ Register Assembly="DevExpress.Web.v7.3, Version=7.3.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxCallback" TagPrefix="dxcb" %>

<%@ Register Assembly="DevExpress.Web.v7.3, Version=7.3.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dxpc" %>
<%@ Register Assembly="DevExpress.Web.v7.3, Version=7.3.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxCallbackPanel" TagPrefix="dxcp" %>
<%@ Register Assembly="DevExpress.Web.v7.3, Version=7.3.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dxrp" %>
<%@ Register Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="System.Web.UI" TagPrefix="cc1" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v7.3, Version=7.3.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dxwgv" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v7.3, Version=7.3.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v7.3.Export, Version=7.3.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxGridView.Export" TagPrefix="dxwgv" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>年度车间安全信息统计表</title>
        <link href="../App_Themes/treeStyle.css" rel="stylesheet" type="text/css" />
    <link href="~/common/toolbarStyle.css" type="text/css" rel="stylesheet" />
<link href="~/common/folder_grid.css" rel="stylesheet" type="text/css" />
<link href="~/common/dialog.css" rel="stylesheet" type="text/css" />
<link href="../App_Themes/treeStyle.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
    function fnOpenWin(parm)
    {
        ASPxCallbackPanel1.PerformCallback(escape(parm));
    }

</script>
</head>
<body style="background-color: #e5f2ff; margin: 5px; ">
    <form id="form1" runat="server">
     <div style="width: 100%;"  class="h1">
<img id="FolderGridHeadingImage" src="../common/images/treeview/file.gif" alt="无图片" />
<div id="FolderGridHeadingText" style="display:inline;padding-left:6px;">
    年度车间安全信息统计表</div></div>
    <div>
        <table border="0" class="table">
            <tr>
             <td style=" font-weight: bold;" align="center">
                    组织单位</td>
                <td style="width: 80px" align=center>
                    查询年度：</td>
                <td style="width: 108px; height: 21px">
                      <asp:DropDownList ID="ASPxComboTitle" runat="server" AutoPostBack="True" Width="100px" OnSelectedIndexChanged="ASPxComboTitle_SelectedIndexChanged" >
                       </asp:DropDownList>
                </td>
                <td style="width: 300px; height: 21px"><dxe:ASPxButton ID="ASPxButton1" runat="server" CssFilePath="~/App_Themes/Office2003 Blue/{0}/styles.css"
                        CssPostfix="Office2003_Blue" Text="导出" OnClick="ASPxButton1_Click">
                    </dxe:ASPxButton>
                </td>
  
            </tr>
            <tr>
                <td valign="top" style="height: 411px">
                <asp:TreeView ID="TreeView1" style="Overflow:auto;" runat="server" Width="150px" ExpandDepth="1" 
 OnSelectedNodeChanged ="TreeView1_SelectedNodeChanged" BorderColor="LightBlue" BorderStyle="Inset" BorderWidth="1px" CollapseImageUrl="~/App_Themes/images/folder.gif" ExpandImageUrl="~/App_Themes/images/folder.gif" Font-Overline="False" Font-Size="Smaller" ImageSet="XPFileExplorer" LineImagesFolder="~/App_Themes/images/lines/" NodeWrap="True" NoExpandImageUrl="~/App_Themes/images/deletedFolder.gif" Height="400px">
                        <RootNodeStyle HorizontalPadding="1px" VerticalPadding="1px" />
                    </asp:TreeView>
                </td>
                <td colspan="5" style="height: 411px" valign="top">
                <dxcp:ASPxCallbackPanel ID="ASPxCallbackPanel1" runat="server" Width="200px" OnCallback="ASPxCallbackPanel1_Callback" CssFilePath="~/App_Themes/Office2003 Blue/{0}/styles.css" CssPostfix="Office2003_Blue" ImageFolder="~/App_Themes/Office2003 Blue/{0}/">
                        <PanelCollection>
                            <dxrp:PanelContent runat="server">
                <div>
                


                 
          <dxwgv:ASPxGridView ID="ASPxGridView1" runat="server" DataSourceID="ObjectDataSource1" AutoGenerateColumns="False" CssFilePath="~/App_Themes/Office2003 Blue/{0}/styles.css" CssPostfix="Office2003_Blue" KeyFieldName="SUID" ClientInstanceName="grid">
            <SettingsText CommandCancel="取消" CommandDelete="删除" CommandEdit="修改" CommandNew="新建"  EmptyDataRow="暂时没有记录"
                CommandUpdate="确定" ConfirmDelete="确实要删除给纪录吗？" PopupEditFormCaption="年度车间安全信息"
                Title="年度车间安全信息统计表" />
            <Settings ShowTitlePanel="True" />
            <SettingsEditing Mode="PopupEditForm" PopupEditFormWidth="600px" />
            <SettingsBehavior ConfirmDelete="True" />
            <Columns>
                            
                <dxwgv:GridViewDataMemoColumn   Caption="单位" FieldName="ZRDW" VisibleIndex="0"
                    Width="60px">
                </dxwgv:GridViewDataMemoColumn>
                 <dxwgv:GridViewDataMemoColumn   Caption="月份" FieldName="fmonth" VisibleIndex="1"
                    Width="60px">
                </dxwgv:GridViewDataMemoColumn>
                <dxwgv:GridViewDataDateColumn Caption="管理A" FieldName="GA" VisibleIndex="2"
                    Width="60px">
            
                </dxwgv:GridViewDataDateColumn>
                <dxwgv:GridViewDataMemoColumn Caption="管理B" FieldName="GB" VisibleIndex="3"
                    Width="60px">
                </dxwgv:GridViewDataMemoColumn>
                <dxwgv:GridViewDataMemoColumn Caption="管理C" FieldName="GC" VisibleIndex="4"
                    Width="60px">
                </dxwgv:GridViewDataMemoColumn>
                <dxwgv:GridViewDataMemoColumn Caption="设备A" FieldName="SA" VisibleIndex="5" 
                Width="60px">
                </dxwgv:GridViewDataMemoColumn>
                <dxwgv:GridViewDataTextColumn Caption="设备B" FieldName="SB" VisibleIndex="6"
                    Width="60px">
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="两违A" FieldName="WA" VisibleIndex="7"
                    Width="60px">
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataMemoColumn Caption="两违B" FieldName="WB" VisibleIndex="8"
                    Width="60px">
                </dxwgv:GridViewDataMemoColumn>
                <dxwgv:GridViewDataTextColumn Caption="两违C" FieldName="WC" VisibleIndex="9"
                    Width="60px">
                    </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataMemoColumn Caption="总计" FieldName="Amount" VisibleIndex="10"
                    Width="60px">
                </dxwgv:GridViewDataMemoColumn>

            </Columns>
            <SettingsPager PageSize="15">
                <Summary Text="第{0}页,共{1}页({2}条)" />
            </SettingsPager>
        
        
        
        </dxwgv:ASPxGridView>

    </div>
               </dxrp:PanelContent>
                        </PanelCollection>
                    </dxcp:ASPxCallbackPanel>  
                    
                </td>
            </tr>
        </table>
    
    </div>

 <asp:ObjectDataSource ID="ObjectDataSource1" runat="server"  SelectMethod="GetTJOA_AQK_CJTJYVIEWByha" TypeName="TONLI.TJOA.TJOA_AQK_CJTJYVIEWManager">
           
            <SelectParameters>
                <asp:SessionParameter Name="DeptDate" SessionField="DeptDate" />
            </SelectParameters>
            
        </asp:ObjectDataSource>
        
                <dxwgv:ASPxGridViewExporter id="ASPxGridViewExporter1" runat="server" FileName="设备冬检计划表"
            GridViewID="ASPxGridView1">
        </dxwgv:ASPxGridViewExporter>
    </form>
</body>
</html>
